
#ifndef __XML_READER_H
#define __XML_READER_H

#include <libxml/xmlreader.h>

class XMLReader
{
   public:
      XMLReader();
      ~XMLReader();
      xmlDocPtr XMLRead(const char *buffer, int size, int *success, int *vsuccess);
      xmlDocPtr XMLRead(const char *xmlfilename, int *success);
      xmlDocPtr XMLRead(const char *xmlfilename, int *success, int *vsuccess);
      xmlParserCtxtPtr ctxt;
};

#endif
